import {connect} from 'react-redux'
import {
    getCartoonData
}from '../../store/actions/FindAction'
const mapStateToProps=state=>({
    cartoon:state.getIn(['Find','cartoon'])
})
const mapDispatchToProps=dispatch=>({
    // 定义组件调用方法
    getCartoonDataCmp(){
        return dispatch(getCartoonData())
    }
})
export default connect(mapStateToProps,mapDispatchToProps)
